package com.ipkiss.incomespringboot.service.impl;

import com.ipkiss.incomespringboot.mapper.UsersMapper;
import com.ipkiss.incomespringboot.model.param.UserParam;
import com.ipkiss.incomespringboot.service.IUserInfoService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author WuYongheng
 * @date 2024/5/11
 * @describe
 */
@Service
@Transactional
public class UserInfoService implements IUserInfoService {
    @Resource
    private UsersMapper usersMapper;

    @Override
    public int login(UserParam param) {
        return usersMapper.login(param);
    }

}
